package timing.ukulele.third.persistent.msg;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import timing.ukulele.persistence.model.BaseIdWorkerModel;

/**
 * 短信（回执和发送记录）
 * @author zh
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageRecord extends BaseIdWorkerModel {

    /**
     * 消息模板Id
     */
    private Long messageTemplateId;

    /**
     * 发送渠道
     */
    private Integer sendChannel;

    /**
     * 发送账号
     */
    private Long sendAccountId;

    /**
     * 外部传参：参数可变内容
     */
    private String variables;

    /**
     * 外部传参：扩展参数
     */
    private String extra;

    /**
     * 渠道请求入参
     */
    private String channelRequest;

    /**
     * 渠道请求出参
     */
    private String channelResponse;

}
